<template>
	<div v-show="showPage">
		<div style="border-bottom: 1px solid #ddd;">
			<h3>模型类型</h3>
		</div>
		<el-row>
			<el-col :span="6">
				<div style="text-align: center;">
					<i class="el-icon-s-fold" style="font-size: 150px;"></i>
					<div>
						<el-radio v-model="modelType" label="table" > 数据库表</el-radio>
					</div>
				</div>
			</el-col>
			<el-col :span="6">
				<div style="text-align: center;">
					<i class="el-icon-tickets" style="font-size: 150px;"></i>
					<div>
						<el-radio v-model="modelType" label="view" >视图</el-radio>
					</div>
				</div>
			</el-col>
			<el-col :span="6">
				<div style="text-align: center;">
					<i class="el-icon-s-unfold" style="font-size: 150px;"></i>
					<div>
						<el-radio v-model="modelType" label="para" >参数</el-radio>
					</div>
				</div>
			</el-col>
		</el-row>
	</div>
</template>

<script>
	export default {
		name: "ModelTypeSelectPage",
		props: ["scope"],
		data() {
			return {
				showPage: false,
				modelType:"table"
			}
		},
		mounted() {
		
		},
		methods: {
			init() {
			},
			setVisible(visible) {
				this.showPage = visible;
			},getReturnData(){
				var data={"modelType":this.modelType};
				return data;
			},getPreviousPage(){
				return "moduleTypeSelectPage";
			},getNextPage(){
				return "modelBaseInfoPage";
			},isCompletedPage(){
				return false;
			}
		},
	}
</script>

<style>
</style>
